package com.daedalus.klasaObjekte.ushtrimet6_30_33;/*
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * Date: 12-11-18
 * Time: 7.41.MD
 */

import javax.swing.*;

public class Main {

    public static void main(String[] args){
        MesimInteraktiv stud1 = new MesimInteraktiv();
        int prgjSakte = stud1.testoStudentin(10);

        while (prgjSakte>7){
            JOptionPane.showMessageDialog(null,"Jeni nje student i mrekullueshem, provoni nivelin tjeter");
            stud1.rritNivelin(5);
            stud1.testoStudentin(10);
        }
            JOptionPane.showMessageDialog(null,"Provoni te studioni pak me shume per te kaluar ne nivelin 2");
            System.exit(1);



            }

}
